import { Authority } from '../request'

const { get } = Authority

// 与设备建立连接
export const connectEquip = params => get('/equip/handle/v1/connectEquip', { params })

// 与设备断开连接
export const unConnectEquip = params => get('/equip/handle/v1/unConnectEquip', { params })

// 向设备发送指令
export const sendCmd = params => get('/equip/handle/v1/sendCmd', { params })


// 获取所有操作指令
export const allCmdList = params => get('/equip/handle/v1/getCmdList', { params })

// 获取所有操作指令
export const getEquipInfo = params => get('/equip/case/v1/getById', { params })
